﻿body {
	font-size: .85em;
	font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
	color: #232323;
	background-color: #fff;
	width: 960px;
	margin: 0 auto;
}

header, footer, nav, section {
	display: block;
}

header {
	background: url('/images/political-chart-logo.png') top left no-repeat;
	height: 100px;
	margin: 1em 0;
	padding: 0 0 0 100px;
}

.float-right {
	float: right;
}

.col {
	float: right;
}

div.col {
	width: 66%;
	margin-left: 1%;
}

aside.col {
	width: 33%;
}

div.top div.col {
	width: 708px;
	margin-left: 12px;
}

div.top aside.col {
	width: 240px;
}

div.bottom div.col {
	width: 670px;
	margin-left: 20px;
}

div.bottom aside.col {
	width: 270px;
}

tr.candidate td:first-child {
	border-left: 8px solid;
	padding-left: 4px;
}

tr.candidate.C1 td:first-child {
	border-left-color: red;
}

tr.candidate.C2 td:first-child {
	border-left-color: green;
}

tr.candidate.C3 td:first-child {
	border-left-color: blue;
}

tr.candidate.C4 td:first-child {
	border-left-color: orange;
}

tr.candidate.C5 td:first-child {
	border-left-color: purple;
}

tr.candidate.C6 td:first-child {
	border-left-color: yellow;
}

tr.candidate.C7 td:first-child {
	border-left-color: cyan;
}

tr.candidate.C8 td:first-child {
	border-left-color: magenta;
}

tr.candidate.C9 td:first-child {
	border-left-color: brown;
}

tr.candidate.C10 td:first-child {
	border-left-color: pink;
}


/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
	border: 1px solid #ddd;
	padding: 0 1.4em 1.4em 1.4em;
	margin: 0 0 1.5em 0;
}

div.col.clearfix fieldset {
	float: left;
	margin-left: 2em;
}

legend {
	font-size: 1.2em;
	font-weight: bold;
}

textarea {
	min-height: 75px;
}

.editor-label {
	margin: 1em 0 0 0;
}

.editor-field {
	margin: 0.5em 0 0 0;
}

label, input[type="submit"], input[type="file"] {
	display: block;
}

label {
	font-weight: bold;
}

input[type="file"] {
	width: 30em;
	margin: 0.25em 0 1em;
}

input[type="number"], input.number {
	width: 4em;
}

div.col input[type="submit"] {
	float: left;
	margin-top: 4em;
}

.right {
	text-align: right;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
	color: #f00;
}

.field-validation-valid {
	display: none;
}

.input-validation-error {
	border: 1px solid #f00;
	background-color: #fee;
}

.validation-summary-errors {
	font-weight: bold;
	color: #f00;
}

.validation-summary-valid {
	display: none;
}


.clearfix {
	zoom: 1;
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}